mergAVPick
Type
function
Summary
Picks a video from a recording or the library and saves it in the temporary folder and returns the file path
Syntax
mergAVPick([<pSource>], [<pQuality>], [<pDuration>], [<pIncludeVideo>], [<pIncludePhoto>], [<pPopoverRect>], [<pOriginalImage>])
Description
iOS Only.
Parameters
Name | Type | Description |
---|---|---|
pSource | (optional with "camera" default) the source of the video which will be one of:
| |
pQuality | (optional with "medium" default) the quality of the video
| |
pDuration | (optional with 600 default) The maximum duration of the video | |
pIncludeVideo | (optional with "true" default) Allow the user to pick video.
| |
pIncludePhoto | (optional with "false" default) Allow the user to pick photo's.
| |
pPopoverRect | (optional with "" default) The rect to display the popover from if picking an existing video or photo. If not specified the target rect will be used. | |
pOriginalImage | (optional with "false" default) (iOS8 only) This option is for picking images from the library where you want the original image data rather than the image that iOS normally gives us from the image picker.
|
Examples
put mergAVPick("library","medium",180) into tVideoPath
put mergAVPick("front camera","low") into tVideoPath
Compatibility and Support
Introduced
LiveCode 8.0
OS
ios
mac
Platforms
desktop
mobile